package com.sixkey.model.response;

/**
 * ClassName: ResultEnum
 * Package: com.sixkey.model.response
 * Description:
 *
 * @Author: @WeiXueShi
 * @Create: 2023/8/15 - 20:08
 * @Version: v1.0
 */

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 响应结果枚举类
 */

@Getter
@AllArgsConstructor
public enum ResultEnum{

    SUCCESS(200, "success"),
    FAILED(500, "failed"),
    FORBIDDEN(403, "没有权限访问资源");

    private final Integer code;
    private final String message;
}
